package com.liehu.business.pojo;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类 社保订单表Social
 * @author Administrator
 *
 */
@TableName("tb_social")
public class Social implements Serializable{

	@TableId(type = IdType.INPUT)
	private String id;//主键，社保、公积金表


	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private java.util.Date startTime;//合同起始时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private java.util.Date endTime;//合同终止时间
	private String type;//服务类型，1社保，2公积金，3社保公积金
	private String contractPay;//合同缴费
	private Double spend;//服务费用
	private java.util.Date allowanceTime;//生育津贴到账时间
	private String allowance;//生育津贴服务费
	private String remarks;//备注
	private String employeeName;//业务员姓名
	private String employeeId;//业务员id
	private String customerId;//客户id
	@TableField(fill = FieldFill.INSERT)
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private java.util.Date createTime;//创建时间
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private java.util.Date updateTime;//更新时间
	private String status;//状态，1受理ing,2受理over

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContractPay() {
		return contractPay;
	}

	public void setContractPay(String contractPay) {
		this.contractPay = contractPay;
	}

	public Double getSpend() {
		return spend;
	}

	public void setSpend(Double spend) {
		this.spend = spend;
	}

	public Date getAllowanceTime() {
		return allowanceTime;
	}

	public void setAllowanceTime(Date allowanceTime) {
		this.allowanceTime = allowanceTime;
	}

	public String getAllowance() {
		return allowance;
	}

	public void setAllowance(String allowance) {
		this.allowance = allowance;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Social{" +
				"id='" + id + '\'' +
				", startTime=" + startTime +
				", endTime=" + endTime +
				", type='" + type + '\'' +
				", contractPay='" + contractPay + '\'' +
				", spend=" + spend +
				", allowanceTime=" + allowanceTime +
				", allowance='" + allowance + '\'' +
				", remarks='" + remarks + '\'' +
				", employeeName='" + employeeName + '\'' +
				", employeeId='" + employeeId + '\'' +
				", customerId='" + customerId + '\'' +
				", createTime=" + createTime +
				", updateTime=" + updateTime +
				", status='" + status + '\'' +
				'}';
	}
}
